t/h/L/vif-common.sh: fix handle_iptable return value
authorHans van Kranenburg <hans@knorrie.org>
Thu, 26 Nov 2020 15:06:03 +0000 (16:06 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Tue, 15 Dec 2020 09:22:20 +0000 (10:22 +0100)
commit8b5da6ed23f636e263420b2375069062a1638458
treebb315b64e5c3a0117493bccda064c75398f31fef
parent21f2b002baf61cf88c8eb2ddd951ecb0bcbdbb8e
t/h/L/vif-common.sh: fix handle_iptable return value

A return statement without explicit value will return the value of the
last command executed before this line with return was encountered.

This is not what we want. return 0.

Closes: #955994
Fixes: 2e0814f971dd ("vif-common: disable handle_iptable")
Reported-by: Samuel Thibault <sthibault@debian.org>
Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
tools/hotplug/Linux/vif-common.sh